package shangguigu_juc;

public class Main {

    public static void main(String[] args) {
        
        Thread thread1 = new Thread(() -> {
            System.out.println(Thread.currentThread().getName()+"::"+Thread.currentThread().isDaemon());
            while (true){
                
            }
        },"t1");
        thread1.setDaemon(true);
        thread1.start();

        System.out.println(Thread.currentThread().getName()+" over");
    }
}
